﻿<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>{% block title %} {% endblock %}</title>
	<script src="{% static 'js/jquery-3.3.1.min.js' %}"></script>
	<script src="{% static 'js/message.min.js' %}"></script>
	<script src="{% static 'js/xfzajax.min.js' %}"></script>
	<script src="{% static 'js/front_base.min.js' %}"></script>
	<link rel="stylesheet" href="{% static 'css/common/auth.min.css' %}">
	{% block head %} {% endblock %}
</head>
<body>
	<header class="header">
		<div class="container">
			<div class="logo-box">
				<a href="/"></a>
			</div>
			<ul class="nav">
				<li><a href="/">资讯</a></li>
				<li><a href="{% url 'course:course_index' %}">创业课堂</a></li>
				<li><a href="#">企业服务</a></li>
				<li><a href="/search/">搜索</a></li>
			</ul>

			<div class="auth-box">
				<img class="icon-person" src="{% static 'images/login.png' %}">
				{% if user.is_authenticated %}
					<a href="#" class="authenticated-box">{{ user.username }}</a>
					<div class="user-more-box">
						<i class="triangle"></i>
						{% if user.is_staff %}
							<a href="{% url 'cms:index' %}">管理系统</a>
						{% endif %}
						<a href="{% url 'xfzauth:logout' %}">退出登录</a>
					</div>
				{% else %}
					<a href="#" class="login-btn">登录</a> /
					<a href="#" class="register-btn">注册</a>
				{% endif %}
			</div>
		</div>
	</header>
    {% block main %} {% endblock %}
	<footer class="footer">
		<div class="footer-upper">
			<div class="footer-parterner">
				<h3>合作伙伴</h3>
				<ul class="parterner">
					<li>
						<a href="http://www.ehoutai.com/">
							<img src="{% static 'images/ehoutai.png' %}">
						</a>
					</li>
					<li>
						<a href="http://www.sanjieke.com/">
							<img src="{% static 'images/sanjieke.png' %}">
						</a>
					</li>
					<li>
						<a href="https://www.aliyun.com/">
							<img src="{% static 'images/aliyun.png' %}">
						</a>
					</li>
					<li>
						<a href="http://xmanlegal.com/">
							<img src="{% static 'images/xmanlegal.png' %}">
						</a>
					</li>
				</ul>
			</div>
			<div class="links">
				<div class="foot-logo"></div>
				<div class="foot-link">
					<a href="https://www.xfz.cn/about/">关于小饭桌 |</a>
					<a href="https://www.xfz.cn/events/">小饭桌创业课堂 |</a>
					<a href="https://www.inventioncap.cn/">凡创资本 |</a>
					<a href="https://www.fzcap.cn/">凡卓资本</a>
				</div>
				<div class="corporate">
					<span>融资服务：bp@xfz.cn</span>
					<span>商务合作：bd@xfz.cn</span>
				</div>
				<div class="address">
					地址：北京市朝阳区东三环北路38号院泰康金融大厦
				</div>
				<div class="follow">
					关注我们：
					<div href="#" class="showWx">
						<span>小饭桌</span>
						<span class="xfz-wx-qrcode"></span>
					</div>
					<div href="#" class="showWx2">
						<span>小饭桌创业课堂</span>
						<span class="school-wx-qrcode"></span>
					</div>
				</div>
			</div>
		</div>
		<div class="footer-bottom">
			<p>
				©2020 北京子木投资顾问有限公司
				<a href="http://www.beian.miit.gov.cn" target="_blank">京ICP备15051289号</a>
				| 增值电信业务经营许可证：京B2-20170574
			</p>
		</div>
	</footer>
	<div class="mask-wrapper">
		<div class="auth-wrapper">
			<div class="close-wrapper">
				<span class="close-btn">
					<img src="{% static 'images/close.png'%}" alt="Alternate Text" />
				</span>
			</div>
			<div class="auth-inner-wrapper">
				<div class="scroll-wrapper">
					<div class="login-group auth-group">
						<div class="top-group">
							<span class="title">请登录</span>
							<a href="javascript: void(0)" class="switch">立即注册></a>
						</div>
						<div class="form-group">
							<div class="input-group">
								<input type="text" name="telephone" placeholder="手机号码" class="form-control">
							</div>
							<div class="input-group">
								<input type="text" name="password" placeholder="密码" class="form-control">
							</div>
							<div class="input-group">
								<label class="remember-label">
									<input type="checkbox" name="remember" value="1">
									记住我
								</label>
							</div>
							<div class="input-group">
								<input type="submit" name="submit" value="立即登录" class="submit-btn">
							</div>
						</div>
					</div>
					<div class="signup-group auth-group">
						<div class="top-group">
							<span class="title">请注册</span>
							<a href="javascript: void(0)" class="switch">立即登录></a>
						</div>
						<div class="form-group">
							<div class="input-group">
								<input type="text" name="telephone" placeholder="手机号码" class="form-control">
							</div>
							<div class="input-group">
								<input type="text" name="username" placeholder="用户名" class="form-control">
							</div>
							<div class="input-group">
								<div class="short-input-group">
									<input type="text" name="img-captcha" placeholder="图形验证码" class="form-control">
								</div>
								<div class="input-group-addon">
									<img src="{% url 'xfzauth:img_captcha' %}" alt="Alternate Text" class="img-captcha">
								</div>
							</div>
							<div class="input-group">
								<input type="text" name="password1" placeholder="密码" class="form-control">
							</div>
							<div class="input-group">
								<input type="text" name="password2" placeholder="再次输入密码" class="form-control">
							</div>
<!--							<div class="input-group">-->
<!--								<div class="short-input-group">-->
<!--									<input type="text" name="sms-captche-btn" placeholder="短信验证码" class="form-control">-->
<!--								</div>-->
<!--								<div class="input-group-addon">-->
<!--									<span class="sms-captcha-btn">发送验证码</span>-->
<!--								</div>-->
<!--							</div>-->
							<div class="input-group">
								<input type="submit" name="submit" value="立即注册" class="submit-btn">
							</div>

						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>
